package cn.dt.ymcc.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
public class OrderInfoVo {
    private List<CourseItemVo> courseInfos = new ArrayList<>();
    private BigDecimal totalAmount;

    public OrderInfoVo(List<CourseItemVo> courseInfos, BigDecimal totalAmount) {
        this.courseInfos = courseInfos;
        this.totalAmount = totalAmount;
    }
}
